Skip to content

Conversation

@grrrr
Copy link

@grrrr grrrr commented Jan 9, 2026

Hi,
this is a proposal for (substantial) performance improvements of the AudioEffectCompressor_F32 class.
Mainly, it covers the case where the ratio is 1 and no DSP is needed.
There are other more minor parts, though.

In some (newer?) version arm_math.h seems to have implementations for log, exp and clip functions -- these can be enabled if available.

The low-pass filtering for the loudness estimation from the rectified signal now also uses the optimized biquad function. This is not well-tested, therefore this PR should be considered a draft.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant